package chuangyi.com.org.ViewModel;

import android.content.Context;
import android.databinding.Bindable;

import chuangyi.com.org.DOMIHome.adapter.ListBindingAdapter;

/**
 * Created by zxh on 16/12/20.
 */

public class OptionSelector extends DialogModel {
    private String title;
    private ListBindingAdapter<MenuItem> options;

    @Bindable
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Bindable
    public ListBindingAdapter<MenuItem> getOptions() {
        return options;
    }

    public void setOptions(ListBindingAdapter<MenuItem> options) {
        this.options = options;
    }

    public OptionSelector(Context context, String title){
        super(context);
        this.title = title;
    }
}
